import time

import akshare as ak

# 指数估值 韭圈儿
# https://funddb.cn/site/index
df = ak.index_value_name_funddb()
df = df.sort_values(by='PE分位', ascending=True)
date = time.strftime("%Y%m%d", time.localtime())
df.to_excel(f"指数估值-{date}.xlsx", index=False)
